var fs = require("fs")
// fs.readFile
let hook = function (func) {
  return function (path) {
    console.log(path)
    return func(...arguments) // 返回最终结果
  }
}
require("../../ff2017/dev/proto").watchProto(fs, "readFile", {get: hook})
require("../../ff2017/dev/proto").watchProto(fs, "readFileSync", {get: hook})